{% extends "base.html" %}
{% block header %}
    <header class="ui-header ui-header-positive ui-border-b">
        <h1>用户绑定</h1>
    </header>
{% endblock %}
{% block container %}
    <section class="ui-container">
    <div class="ui-form ui-border-t">
        <div class="ui-flex ui-center">
            <h1 style="font-size: 22px; color: #3385e6">天津商业大学图书馆</h1>
        </div>
        <form action="{{ url_for("user.userbind") }}" method="POST">
            {{ userform.hidden_tag() }}
            <div class="ui-form-item ui-border-b">
                <label>
                    借阅证号:
                </label>
                {{ userform.libusername(placeholder='请输入借阅证号')}}
                <a href="#" class="ui-icon-close"></a>
            </div>
            <div class="ui-form-item ui-border-b">
                <label>
                    借阅证密码:
                </label>
                {{ userform.libpwd(type="password",placeholder='请输入借阅证密码')}}
                <a href="#" class="ui-icon-close"></a>
            </div>
            <br>
            <div class="ui-btn-wrap">
                <button type="submit" class="ui-btn-lg ui-btn-primary">
                    确认绑定
            </button>
            </div>
            <br>
        </form>
    </div>
    </section>
{% endblock %}
{% block footer  %}
    <footer class="ui-footer ui-footer-stable">
    <h6 align="center" style="color: #8e8e93;">天津商业大学图书馆-微信公众平台</h6>
    </footer>
{% endblock %}
